#!/bin/bash

IP=192.168.101.41
USER=pico
TARGET=/home/pico
PASSWORD="luckfox"


ssh-keyscan $IP >> ~/.ssh/known_hosts 2>/dev/null

echo "Transferring to $USER@$IP:$TARGET"
sshpass -p $PASSWORD scp ./build/target $USER@$IP:$TARGET
